package com.geek.bean.vo;

import lombok.Data;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

@Data
public class ResetVo {
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号格式不正确")
    String mobile;
    @Size(min = 6, max = 12,message = "密码长度必须在6到12之间")
    String password;
    String code;
}
